package com.zhy.http.okhttp.callback;

import okhttp3.Call;
import okhttp3.Request;
import okhttp3.Response;

public abstract class Callback<T>
{
  public static Callback CALLBACK_DEFAULT = new Callback()
  {
    public void onError(Call paramAnonymousCall, Exception paramAnonymousException)
    {
    }

    public void onResponse(Object paramAnonymousObject)
    {
    }

    public Object parseNetworkResponse(Response paramAnonymousResponse)
      throws Exception
    {
      return null;
    }
  };

  public void inProgress(float paramFloat)
  {
  }

  public void onAfter()
  {
  }

  public void onBefore(Request paramRequest)
  {
  }

  public abstract void onError(Call paramCall, Exception paramException);

  public abstract void onResponse(T paramT);

  public abstract T parseNetworkResponse(Response paramResponse)
    throws Exception;
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.zhy.http.okhttp.callback.Callback
 * JD-Core Version:    0.6.2
 */